﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Action</title>
</head>
<body>
	<header>
	<div class="container">
		<nav class="pt-2">
		<div id="logo">
			<h1>
				<a href="<c:url value="/" />"><span class="fa fa-ship"></span>
					CDMS</a>
			</h1>
		</div>
		<label for="drop" class="toggle">Menu</label> </nav>

		<div class="row top_header pt-2">
			<div
				class="col-lg-3 offset-lg-7 col-md-5 offset-md-3 col-sm-6 col-7 offset-sm-2 top-grid">
				<h6>欢迎来到CDMS-同城配送系统</h6>

			</div>
			<div class="col-lg-2 col-md-4 col-sm-4 col-5 top-grid pl-0 ">
				<c:choose>
					<c:when
						test="${not empty sessionScope.sender && not empty sessionScope.sender.id }">
						<h6>
							你好，配送员：
							<c:out value="${sender.fullname}" />
						</h6>
						<br />
					</c:when>
					<c:when
						test="${not empty sessionScope.manager && not empty sessionScope.manager.id }">
						<h6>
							你好，管理员：
							<c:out value="${sessionScope.manager.fullName}" />
						</h6>
						<br />
					</c:when>
				</c:choose>
			</div>
		</div>

	</div>
	</header>
</body>
</html>